package com.diors.game.engine.arpg.scene.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 场景分线Model
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-22
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "line")
public class SceneLineModel 
{

	@XmlAttribute(name = "scene_id")
	private int secneId;
	
	@XmlAttribute(name = "max")
	private int maxLine;

	@XmlAttribute(name = "min")
	private int minLine;

	public SceneLineModel(){}
	
	/**
	 * 默认的线路Model
	 * @param secneId	场景ID
	 * @create	2013-10-26	darren.ouyang
	 */
	public SceneLineModel(int secneId)
	{
		this.secneId = secneId;
		this.maxLine = 1;
		this.minLine = 1;
	}
	
	public int getSecneId() {
		return secneId;
	}

	public int getMaxLine() {
		return maxLine;
	}

	public int getMinLine() {
		return minLine;
	}
	
	
}
